package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.UserDto;
import com.heima.model.admin.pojos.AdUser;
import com.heima.model.common.dtos.ResponseResult;

public interface AdUserService extends IService<AdUser> {
    /**
     * 管理员登录
     */
    public ResponseResult login(UserDto userDto);

    /**
     * 注册
     */
    ResponseResult register(AdUser adUser);
}
